package bravo.xc.com.xc_bravo_android.operation.re_password;

import bravo.xc.com.xc_bravo_android.base.BasePresenter;
import bravo.xc.com.xc_bravo_android.base.BaseView;
import bravo.xc.com.xc_bravo_android.beans.ForgetBeans;
import bravo.xc.com.xc_bravo_android.beans.SendCodeBeans;

/**
 * CREATED BY YANK
 * DATE : 2017/10/28
 * MAIL : YANK.TENYOND@GMAIL.COM
 * FUNCTION :
 */

public interface RePasswordContract {

    interface RePasswordView extends BaseView {
        boolean checkNull(int id);
        void showProgress(boolean show);
        void setInfo(String username,String phone);
        void toNewActivity();
    }

    abstract class RePasswordPresenter extends BasePresenter<RePasswordView>{

        public abstract void doRepassword(ForgetBeans forgetBeans);
        public abstract void dosendCode(SendCodeBeans codeBeans);
        public abstract void doGetInit(SendCodeBeans codeBeans);
    }
}
